* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Calibri;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #2f363e;
}

#clock {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /* 设置元素间的距离 */
    gap: 80px;
}

#hrDots,
#minDots,
#secDots {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    rotate: 90deg;
}

#hrDots::before,
#minDots::before,
#secDots::before {
    content: '';
    position: absolute;
    /* 定位元素简写 top、right、bottom、left=-20px   */
    inset: -20px;
    border-radius: 50%;
    /* x轴偏移量 y轴偏移量 模糊度 颜色 */
    /* 第一个 外阴影 */
    box-shadow: 25px 25px 75px rgba(0, 0, 0, 0.25),
        /* 第二个 内阴影 */ 10px 10px 70px rgba(0, 0, 0, 0.25),
        /* 添加的内阴影 */ inset 5px 5px 10px rgba(0, 0, 0, 0.5),
    inset 5px 5px 20px rgba(255, 255, 255, 0.2),
    inset -5px -5px 15px rgba(0, 0, 0, 0.75);
    transform: rotate(-90deg);
}


#hrDots h2,
#minDots h2,
#secDots h2 {
    /* 绝对定位 */
    position: absolute;
    /* 文字位置 */
    text-align: center;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    /* 主轴方向 */
    flex-direction: column;
    font-size: 4em;
    font-weight: 500;
    color: var(--clr);
    transform: rotate(-90deg);
}

#hrDots h2 span,
#minDots h2 span,
#secDots h2 span {
    position: absolute;
    font-size: 0.25em;
    font-weight: 500;
    bottom: 50px;
    /* 文字大写 */
    text-transform: uppercase;
    /* 字间距 */
    letter-spacing: 0.1em;

}

#hrDots b {
    position: absolute;
    color: white;
    display: inline-flex;
    /* 沿x轴偏离25像素，沿Y轴偏离95像素 */
    transform: translate(95px, 145px) rotate(-90deg);
}

#hrDots .dot,
#minDots .dot,
#secDots .dot {
    position: absolute;
    top: 50%;
    width: 10px;
    height: 2px;
    background: var(--clr);
    transform-origin: 100px;
}

#hrDots .active.dot,
#minDots .active.dot,
#secDots .active.dot {
    background: var(--clr);
    box-shadow: 0 0 10px var(--clr),
    0 0 30px var(--clr),
    0 0 40px var(--clr);
}

#hrDots .active.dot ~ .dot,
#minDots .active.dot ~ .dot,
#secDots .active.dot ~ .dot {
    background: #555;
}

#minDots .dot:nth-child(5n+5),
#secDots .dot:nth-child(5n+5) {
    width: 20px;
}

#hrDots .dot {
    width: 20px;
}

#hrDots .dot::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 4px;
    height: 4px;
    border-radius: 4px;
    background: var(--clr);
    box-shadow: 1.5px 9px var(--clr),
    4px 18px var(--clr),
    7px 27px var(--clr);
}

#hrDots .active.dot ~ .dot::before {
    background: #555;
    box-shadow: 1.5px 9px #555,
    4px 18px #555,
    7px 27px #555;
}